﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ConfigInfoWebPlatform.API.ViewModel
{
    public class ViewConfigFileInfoModel
    {
        /// <summary>
        /// 当前目录结构的ID
        /// </summary>
        public string currentId { get; set; }

        /// <summary>
        /// 父结构的ID
        /// </summary>
        public string parentId { get; set; }

        /// <summary>
        /// 级别
        /// </summary>
        public int level { get; set; }

        /// <summary>
        /// 结构类型，是文件还是目录
        /// D = directory  F = file
        /// </summary>
        public string ctype { get; set; }

        /// <summary>
        /// 名称，如果是文件就是文件名，如果是目录就是文件夹名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public string path { get; set; }

        /// <summary>
        /// 父级路径
        /// </summary>
        public string parentPath { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public string fileSize { get; set; }

        /// <summary>
        /// 文件更新时间
        /// </summary>
        public string updateTime { get; set; }

        /// <summary>
        /// 文件创建时间
        /// </summary>
        public string createdTime { get; set; }

        /// <summary>
        /// 功能导航ID
        /// </summary>
        public int programId { get; set; }

        /// <summary>
        /// 备注信息，保存xml根节点的explain属性的value
        /// </summary>
        public string note { get; set; }

        /// <summary>
        /// 状态，E=正在编辑中
        /// </summary>
        public string status { get; set; }



        ///<summary>
        /// 
        ///</summary> 
        public ViewConfigFileInfoModel[] ChildModels { get; set; }



    }
}
